package com.taobao.txc.common.b;

import com.taobao.txc.common.LoggerInit;
import com.taobao.txc.common.LoggerWrap;
import com.taobao.txc.common.c.B;

public class c
  extends RuntimeException
{
  private static final LoggerWrap a = LoggerInit.logger;
  private final int b;
  private final b c;
  
  public c(int paramInt, String paramString)
  {
    this(null, paramString, paramInt, b.bc);
  }
  
  public c()
  {
    this(b.bc);
  }
  
  public c(b paramb)
  {
    this(paramb.be, paramb);
  }
  
  public c(String paramString)
  {
    this(paramString, b.bc);
  }
  
  public c(String paramString, b paramb)
  {
    this(null, paramString, B.b.a(), paramb);
  }
  
  public c(Throwable paramThrowable, String paramString, b paramb)
  {
    this(paramThrowable, paramString, B.b.a(), paramb);
  }
  
  public c(Throwable paramThrowable)
  {
    this(paramThrowable, paramThrowable.getMessage());
  }
  
  public c(Throwable paramThrowable, String paramString)
  {
    this(paramThrowable, paramString, B.b.a(), b.bc);
  }
  
  public c(Throwable paramThrowable, String paramString, int paramInt, b paramb)
  {
    super(paramString, paramThrowable);
    this.b = paramInt;
    this.c = paramb;
  }
  
  public int a()
  {
    return this.b;
  }
  
  public b b()
  {
    return this.c;
  }
  
  public static c a(Throwable paramThrowable)
  {
    return a("", paramThrowable);
  }
  
  public static c a(String paramString, Throwable paramThrowable)
  {
    a.a(paramString, paramThrowable.getMessage(), paramThrowable);
    if ((paramThrowable instanceof c)) {
      return (c)paramThrowable;
    }
    return new c(paramThrowable, paramString);
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.common.b.c
 * JD-Core Version:    0.7.0.1
 */